<?php
namespace Home\Model;
use Think\Model;

class ApinfoModel extends Model {
    public function getSimCount( $ssid, $mac){
       return $this->where(array('ssid'=>$ssid, 'mac'=>$mac))->count();
    }

}

